New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: clarify querying all descendants #15400
Conversation
` | ||
}) | ||
export class Tab { | ||
@ContentChildren(Pane) panes: QueryList<Pane>; | ||
@ContentChildren(Pane, { descendants: true }) allPanes: QueryList<Pane>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe rename:
panes
->topLevelPanes
allPanes
->arbitraryNestedPanes
to make it even clearer ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR:
- please consider addressing the feedback,
- update the spec
- squash your commit into a single one.
Thanks !
fc348b5
to
7413906
Compare
Requested changes plus the updated spec commited and squashed |
Thanks ! |
duplicated commit message http://prntscr.com/enlaiu
|
Duplicated messages must have sneaked in when I rebased/squashed commits together, sorry. |
@mikeybyker could you amend the commit message please ? |
@vicb yes, that's amended now... |
Updated example to illustrate @ContentChildren default behaviour (only query direct children), and how to query for nested elements/all descendants. PR Close angular#14417
Thanks ! |
Fixes angular#14417 Updated example to illustrate @ContentChildren default behavior (only query direct children), and how to query for nested elements/all descendants.
Fixes #14417 Updated example to illustrate @ContentChildren default behavior (only query direct children), and how to query for nested elements/all descendants.
Fixes angular#14417 Updated example to illustrate @ContentChildren default behavior (only query direct children), and how to query for nested elements/all descendants.
Fixes angular#14417 Updated example to illustrate @ContentChildren default behavior (only query direct children), and how to query for nested elements/all descendants.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Updated example to illustrate @ContentChildren default behaviour (only query direct children), and how to query for nested elements/all descendants.
PR Close #14417
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here)
What is the new behavior?
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: